import First from '../query/Frist.vue'
import Second from '../query/Second.vue'
import Third from '../query/Third.vue'
import NotFound from '../router-mode/NotFound.vue'



Vue.use(VueRouter)


const routes = [
  {
    path: '/',
    name: 'first',
    component: First,
    // component: First,
    redirect: '/qqqqq'
  },
  {
    path: '/second',
    name: 'Second',
    component: Second
  },
  {
    path: '/third/:id/:name',
    name: 'Third',
    component: Third
  },
  {
    path: '*',
    name: 'NotFound',
    component: NotFound
  }


]
